﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<HuynhQuangWebsite.Models.DetailsListViewModel>" %>
<%@ Import Namespace="THS.HtmlHelpers" %>
<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	<%if (Model != null)
   { %><%=Model.CurrentProject.ProjectTitle%><%} %>
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <section class="pagemid">
				<div class="inner">
					<%if (Model != null)
       {%>
					<div id="main">
						<div class="entry-content">

							<article class="portfolio_single">
							
                            			<h6>Về dự án:
                       <%if (Model.CurrentProject != null)
                         {%>
                                <%=Model.CurrentProject.ProjectTitle%>
                          <%}%></h6>
                          <i>Khởi công:<%if(Model.CurrentProject.ProjectStartDate.Value!=null){ %><%=Model.CurrentProject.ProjectStartDate.Value.ToString("dd/MM/yyyy") %><%} %></i>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                          <i>hoàn thành:<%if(Model.CurrentProject.ProjectStartDate.Value!=null){ %><%=Model.CurrentProject.ProjectStartDate.Value.ToString("dd/MM/yyyy") %><%} %></i>
                          <div class="divider_line"></div>
                          	<div class="clear"></div>

								<div class="port_img">
		
             <% if (Model.CurrentProject != null)
                {%>	
               <a class="lightbox" href="<%=Model.CurrentProject.ProjectImg %>"><img src="<%=Model.CurrentProject.ProjectImg %>" alt="img"/></a>
               <%}%>

          								</div>

							
															
					
                      
								<div class="port_description">
		<%if (Model.CurrentProject != null)
        { %>
				<h4><%=Model.CurrentProject.ProjectInfo%></h4>
       <%}%>			
								</div>

								<div class="one_third">							
								<h6>Những thông tin liên quan.</h6>
									<p><%if (Model != null)
              { %><%=Model.CurrentProject.ProjectRelationInfo%></p>
									<%} %>
								
								</div>
								
								<div class="one_third">
									<h6>Quy mô dự án và thông tin chủ đầu tư</h6>
                                    <%if (Model.CurrentProject != null)
                                      { %>
									<p><%=Model.CurrentProject.ProjectScale%></p>
                                    <p><%=Model.CurrentProject.ProjectInverstorInfo%></p>
								<%} %>
								</div>							

								<div class="one_third last">

									<h4 class="entry-title">Những dự án gần đây</h4>
								<%if (Model.ProjectList != null)
                                  { %>
									<ul>
                                    <%foreach (var item in Model.ProjectList)
                                      { %>
										<li><%=Html.FriendlyTextUrl(item.ProjectTitle, "Chi_tiet", "Du_an", new RouteValueDictionary { { "id", item.ProjectID }, { "title", Url.EncodeFriendlyUrl(item.ProjectTitle) } })%></li>
                                    <%} %>
																		
									</ul>
								<%} %>
								</div>			
												
							</article>

						</div>
						<!-- .entry-content -->
					</div>
					<!-- #fullwidth -->
                    <%} %>
				</div>
				<!-- .inner -->
			</section>
			<!-- .pagemid -->

</asp:Content>
